package com.itheima.mapper;

import com.itheima.entity.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LonginMapper {

    @Select("select * from emp where username = #{username} and password = #{password}")
    Emp selectById(Emp emp);
}
